<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 lt8"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7 lt8"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8 lt8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->

<head>
    <meta charset="UTF-8" />
    <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  -->
    <title>请假系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Login and Registration Form with HTML5 and CSS3" />
    <meta name="keywords" content="html5, css3, form, switch, animation, :target, pseudo-class" />
    <meta name="author" content="Codrops" />
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" type="text/css" href="static/css/demo.css" />
    <link rel="stylesheet" type="text/css" href="static/css/style.css" />
    <link rel="stylesheet" type="text/css" href="static/css/animate-custom.css" />
</head>

<body>
    <div class="container">
        <!-- Codrops top bar -->

        <header>
            <h1>请假记录<span>*</span></h1>
            <nav class="codrops-demos">
                <a href="/">填写基本信息</a>
                <a href="/function">功能选择</a>
                <a href="/student">请假</a>
                <a href="#"  class="current-demo">查询请假记录</a>
                <a href="#">请假成功</a>
            </nav>
        </header>
        <section>
            <div id="container_demo">
                <!-- hidden anchor to stop jump http://www.css3create.com/Astuce-Empecher-le-scroll-avec-l-utilisation-de-target#wrap4  -->
                <a class="hiddenanchor" id="toregister"></a>
                <a class="hiddenanchor" id="tologin"></a>
                <div id="wrapper">
                    <div id="login" class="animate form">
                        <!--我写的就类似这个形式的表格 通过主键查询 把记录显示出来完事-->

                        <table border="0" style="padding: 5px">
                            <tr>
                                <th>id</th>
                                <th>time</th>
                                <th>leason</th>
                                <th>reason</th>
                            </tr>

                            {foreach $rest as $i}
                             <tr>
                                <td>{$i['studentnumb']}</td>
                                <td>{$i['lesson_time']}</td>
                                <td>{$i['lesson_id']}</td>
                                <td>{$i['reason']}</td>
                            </tr>
                            {/foreach}
                             
                        </table>
                    </div>
                </div>
            </div>
        </section>
    </div>
</body>

</html>